{* Template Name:搜索页模板 *}
<!DOCTYPE html>
<html xml:lang="{$lang['lang_bcp47']}" lang="{$lang['lang_bcp47']}">
<head>
{template:header}
</head>
<body class="{$type}{if GetVars('night','COOKIE') } night{/if}">
<div class="wrapper">
    {template:navbar}
    <div class="main{if $zbp->Config('tpure')->PostFIXMENUON=='1'} fixed{/if}">
        {if $zbp->Config('tpure')->PostBANNERON == '1' && $zbp->Config('tpure')->PostBANNERALLON == '1'}
            <div class="banner" data-type="display" data-speed="2" style="
            {if !tpure_isMobile()}height:{$zbp->Config('tpure')->PostBANNERPCHEIGHT}px;{else}height:{$zbp->Config('tpure')->PostBANNERMHEIGHT}px;{/if}
            background-image:url({$zbp->Config('tpure')->PostBANNER});"><div class="wrap">{if $zbp->Config('tpure')->PostBANNERFONT}<h2>{$zbp->Config('tpure')->PostBANNERFONT}</h2>{/if}</div>
            </div>
        {/if}
        <div class="mask"></div>
        <div{if $zbp->Config('tpure')->PostFIXSIDEBARSTYLE=='0'} id="hcsticky"{/if} class="wrap">
            {if $zbp->Config('tpure')->PostSITEMAPON=='1'}
            <div class="sitemap">{$lang['tpure']['sitemap']}<a href="{$host}">{$lang['tpure']['index']}</a> > {$title}
            </div>
            {/if}
            <div class="content listcon">
                <div class="block{if $zbp->Config('tpure')->PostBIGPOSTIMGON=='1'} large{/if}">
                    {if count((array)$articles)}
                        {foreach $articles as $article}
                        {template:post-multi}
                        {/foreach}
                    {else}
                        <div class="searchnull">{$lang['tpure']['searchnulltip']} <a href="https://www.baidu.com/s?wd={$_GET['q']}" target="_blank" rel="nofollow">{$_GET['q']}</a> {$lang['tpure']['searchnullcon']}</div>
                    {/if}
                </div>
                {if $pagebar && $pagebar.PageAll > 1}
                <div class="pagebar">
                    {template:pagebar}
                </div>
                {/if}
            </div>
            <div class="sidebar{if $zbp->Config('tpure')->PostFIXMENUON=='1'} fixed{/if}">
                {template:sidebar5}
            </div>
        </div>
    </div>
</div>
{template:footer}
</body>
</html>